#include "syscall_user.h"
#include "types.h"
#include "math.h"

#define ASCII_ZERO 48
#define DIFF_ASCII_0_A 7
#define RETURN 13
#define BACKSPACE 8
#define ESPACE 32
#define NBR_COL 80
#define NBR_LIGNE 25
#define NOIR_SUR_GRIS 0x7
#define FILE_SIZE 30000
#define ERROR -1
#define VIDEO_ADDR 0xB800

void printInt(uint nb, int base);
void printChar(char c);
char readChar();
void readString(char *string);
int strlen (char *str);
char strcat(char *destination, char *source);
char *strcpy(char *dest,  char *src);
int strcmp (char *p1, char *p2);
int atoi(char *str);
void clearScreen(void);
void waitKey();
void removeFile(char *arg1);
void listFiles(void);
void printFile(char *arg1);
void exec(char *bin, uint seg);
int getNextFile(File_entry *fe, int *index);
int getStat(char *fileName, File_entry *feOut);
int checkExtension(char *fileName , char *extension);
void getStringBackSpace(char *bufId);
